package edu.jmu.action;

import com.opensymphony.xwork2.ActionSupport;

import edu.jmu.bean.PageView;
/**
 * 基本Action
 * @author Neal
 * 
 */ 
public class BaseAction<T> extends ActionSupport {
	private static final long serialVersionUID = -4906035346839872319L;
	protected int maxresult = 10;
	protected int currentpage = 1;
	/**	分页视图	**/
	protected PageView<T> pageView; 
	/**	消息 **/
	protected String message;
	
	
	public PageView<T> getPageView() {
		return pageView;
	}

	public String getMessage() {
		return message;
	}

	public int getMaxresult() {
		return maxresult;
	}

	public void setMaxresult(int maxresult) {
		this.maxresult = maxresult;
	}

	public int getCurrentpage() {
		return currentpage;
	}

	public void setPageView(PageView<T> pageView) {
		this.pageView = pageView;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setCurrentpage(int currentpage) {
		this.currentpage = currentpage;
	}
	
	
}
